import request from '@/utils/request'

// 绩效模式配置列表
export function modeConfigList(data) {
  return request({
    url: '/v1/report/design/mode-config-list',
    method: 'POST',
    data
  })
}

// 绩效模式配置
export function modeConfig(data) {
  return request({
    url: '/v1/report/design/mode-config',
    method: 'POST',
    data
  })
}

// 设计评分管理列表
export function queryScoreList(data) {
  return request({
    url: '/v1/report/design/score-list',
    method: 'POST',
    data
  })
}

// 设计人效列表
export function queryPerformanceList(data) {
  return request({
    url: '/v1/report/design/performance-list',
    method: 'POST',
    data
  })
}

// 评分
export function setScore(data) {
  return request({
    url: '/v1/report/design/set-score',
    method: 'POST',
    data
  })
}

// 评分日志
export function getScoreLog(data) {
  return request({
    url: '/v1/report/design/score-log',
    method: 'POST',
    data
  })
}

// 重新生成绩效
export function designRegenerate(data) {
  return request({
    url: '/v1/report/design/regenerate',
    method: 'POST',
    data
  })
}

// 任务标签设置系数
export function setCoefficient(data) {
  return request({
    url: '/v1/report/design/task-tag-set-coefficient',
    method: 'POST',
    data
  })
}

// 任务标签设置系数
export function getTaskTagList(data) {
  return request({
    url: '/v1/report/design/task-tag-list',
    method: 'POST',
    data
  })
}

